package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcPatrolGreatLocation;
import com.csun.cmny.provider.model.dto.patrol.PatrolPageQuery;
import com.csun.cmny.provider.model.dto.patrol.PatrolQueryDto;
import com.csun.cmny.provider.model.dto.propertyManagement.SelectDeviceDataDto;
import com.csun.cmny.provider.model.vo.patrol.DmcPatrolVo;
import com.csun.cmny.provider.model.vo.propertyManagement.PropertyDataVo;
import com.github.pagehelper.PageInfo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcPatrolGreatLocationMapper extends Mapper<DmcPatrolGreatLocation> {
    /*
     * 巡更棒的分页查询
     * */
    List<DmcPatrolVo> queryDeviceListWithPage(PatrolPageQuery patrolPageQuery);
    /*
     * 查询未绑定巡更点的巡更棒
     * */
    List<PatrolPageQuery> selectUntiedPatrol(PatrolPageQuery patrolPageQuery);
    /*
     * 查询已绑定巡更点的巡更棒
     * */
    List<PatrolPageQuery> selectBindPatrol(PatrolPageQuery patrolPageQuery);
    /*
     * 查询用户是否绑定
     * */
    List<DmcPatrolGreatLocation> selectByUserId(Long userId);
    /*
     * 运营平台设备可视化查询
     * */
    List<PropertyDataVo> selectDeviceData(SelectDeviceDataDto selectDeviceDataDto);
}